Skip to content

Send the package owner organization on publish - #260

Merged
ericmj merged 1 commit into
mainfrom
publish-owner
Nov 6, 2026
Merged

ericmj merged 1 commit into
mainfrom
publish-owner

Conversation

@ericmj

@ericmj ericmj commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

hex_api_release:publish/3 takes {owner, Organization} and sends it as the owner query parameter. hex.pm then creates a new package owned by that organization in the publish. Without it, Hex publishes the package as the user and transfers it in a second request, and with staged publishing that transfer only happens if mix hex.publish --wait is still running at approval.

hexpm: hexpm/hexpm#2110
hex: hexpm/hex#1307

hex_api_release:publish/3 takes {owner, Organization} and sends it as
the owner query parameter, so hex.pm creates a new package owned by the
organization in the publish instead of the client transferring it
afterwards.
@ericmj
ericmj merged commit 10707bf into main Nov 6, 2026
10 checks passed
@ericmj
ericmj deleted the publish-owner branch November 6, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant